package com.sinochem.yunlian.ship.base.entity;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.google.common.annotations.Beta;


/**
 * 货品基础信息表
 * 
 * @author wh
 * @email ${email}
 * @date 2017-11-21 19:06:25
 */
@Table(name = "bs_material_category")
public class BsMaterialCategory implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;
	
	    //货品名称
    @Column(name = "category_name")
    private String categoryName;
	
	    //父节点ID
    @Column(name = "parent_id")
    private Long parentId;
	
	    //等级
    @Column(name = "level")
    private Integer level;
	
	    //状态
    @Column(name = "delete_status")
    private Integer deleteStatus;
	
	    //排序
    @Column(name = "seq_num")
    private Integer seqNum;
	
	    //分组ID
    @Column(name = "group_id")
    private Integer groupId;
	
	    //字母
    @Column(name = "en_name")
    private String enName;
    
    /**
     * 用于运营后台 启用/禁用
     */
    @Column(name = "disable_status")
    private Integer disableStatus;
	

	/**
	 * 设置：
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：货品名称
	 */
	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}
	/**
	 * 获取：货品名称
	 */
	public String getCategoryName() {
		return categoryName;
	}
	/**
	 * 设置：父节点ID
	 */
	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}
	/**
	 * 获取：父节点ID
	 */
	public Long getParentId() {
		return parentId;
	}
	/**
	 * 设置：等级
	 */
	public void setLevel(Integer level) {
		this.level = level;
	}
	/**
	 * 获取：等级
	 */
	public Integer getLevel() {
		return level;
	}
	
	public Integer getDeleteStatus() {
		return deleteStatus;
	}
	public void setDeleteStatus(Integer deleteStatus) {
		this.deleteStatus = deleteStatus;
	}
	/**
	 * 设置：排序
	 */
	public void setSeqNum(Integer seqNum) {
		this.seqNum = seqNum;
	}
	/**
	 * 获取：排序
	 */
	public Integer getSeqNum() {
		return seqNum;
	}
	/**
	 * 设置：分组ID
	 */
	public void setGroupId(Integer groupId) {
		this.groupId = groupId;
	}
	/**
	 * 获取：分组ID
	 */
	public Integer getGroupId() {
		return groupId;
	}
	/**
	 * 设置：字母
	 */
	public void setEnName(String enName) {
		this.enName = enName;
	}
	/**
	 * 获取：字母
	 */
	public String getEnName() {
		return enName;
	}
	
	public Integer getDisableStatus() {
		return disableStatus;
	}
	public void setDisableStatus(Integer disableStatus) {
		this.disableStatus = disableStatus;
	}
	
}
